/**
 * caicongyang.com Inc.
 * Copyright (c) 2004-2017 All Rights Reserved.
 */
package com.caicongyang.design.strategy;

/**
 * 策略模式：抽取共用的策略，由策略context根据传入的参数来决定使用具体的策略包
 * @author caicongyang1
 * @version id: StrategyTest, v 0.1 17/5/4 下午8:35 caicongyang1 Exp $$
 */
public class StrategyClientTest {

    public static void main(String[] args) {
        StrategyContext context = new StrategyContext(new StrategyA());
        context.Algorithm();


    }
}
